package com.miyu.common.utils.redis.redisUtils.entity;

import com.miyu.common.utils.redis.redisUtils.props.JsonSerialType;
import lombok.Data;

import java.time.Duration;
import java.util.List;

/**
 * redis实体
 * @author miyu
 * @date 2022/11/08
 */
@Data
public class RedisEntity {

    private JsonSerialType jsonSerialType;
    private String host;
    private Integer port;
    private String password;
    private List<Integer> databases;
    private Duration timeout;
    private LettuceEnity lettuce;
    private boolean enable;
}
